﻿package _Pan3D.base {
	// --------------MSN:lation_pan@live.cn  QQ: 3423526------------- //
	public class Object3D extends Object {
		public var x : Number = 0;
		public var y : Number = 0;
		public var z : Number = 0;
		public var angle_x : Number = 0;
		public var angle_y : Number = 0;
		public var angle_z : Number = 0;
		public var scale : Number = 1;
		public var rx : Number = 0;
		public var ry : Number = 0;
		public var rz : Number = 0;

		public function Object3D(_x : Number = 0, _y : Number = 0, _z : Number = 0) : void {
			x = _x;
			y = _y;
			z = _z;
		}

		public function toString(intdata:Boolean=false) : void {
			if(intdata){
				trace(int(x), int(y), int(z));
			}else{
				trace(x, y, z);
			}
		}
	}
}